package cn.tedu.charging.order.feign;


import cn.tedu.charging.common.pojo.param.ChargingProgressParam;
import cn.tedu.charging.common.pojo.vo.ChargingProgressVO;
import cn.tedu.charging.common.protocol.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("charging-service-cost")
public interface CostClient {
    @PostMapping("/cost/calculate")
    public JsonResult<ChargingProgressVO> calculate(@RequestBody ChargingProgressParam param);
}
